-
Home
-
Shield Security – Smart Bot Blocking & Intrusion Prevention Security
-
16.1.6
-
Code
-
Classes
- ApiTokenManager
Total Complexity |
23 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
139 |
Lines of code |
89 |
Logical lines of code |
36 |
Comment lines |
31 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getToken() |
S |
51 |
6 |
27 |
run() |
S |
61 |
3 |
14 |
canRequestNewToken() |
S |
69 |
3 |
7 |
hasToken() |
S |
78 |
2 |
3 |
loadToken() |
S |
62 |
1 |
12 |
getCanRequestOverride() |
S |
82 |
1 |
3 |
getExpiresAt() |
S |
80 |
1 |
3 |
getNextAttemptAllowedFrom() |
S |
80 |
1 |
3 |
getPreviousAttemptAt() |
S |
80 |
1 |
3 |
isExpired() |
S |
80 |
1 |
3 |
isNearlyExpired() |
S |
79 |
1 |
3 |
storeToken() |
S |
76 |
1 |
4 |
setCanRequestOverride() |
S |
77 |
1 |
4 |